import { createSSRApp } from "vue";
import './assets/css/iconfont/iconfont.css';
import * as Pinia from "pinia";
import App from "./App.vue";
import cuHead from './components/cu-head/index.vue'
export function createApp() {
  const app = createSSRApp(App);
  app.component('cuHead', cuHead) // 全局注册组件
  app.use(Pinia.createPinia());

  return {
    app,
    Pinia
  };
}